<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h2>日报提交</h2>
	<form action="daily/add">
		<textarea name="gain"cols="100" rows="5"></textarea><br />
		<textarea name="question"cols="100" rows="5"></textarea><br />
		<textarea name="suggest"cols="100" rows="5"></textarea><br />
		<input type="number" name="sid" placeholder="请输入学号"/><br />
		<button>提交日报</button>
	</form>
	
	<h2>日报查询</h2>
	<h3>根据日报id查询</h3>
	<form action="daily/queryById">
		<input type="text" name="id" placeholder="请输入日报id"/>
		<button>查询</button>
	</form>
	<h3>根据学生id查询</h3>
	<form action="daily/queryBySid">
		<input type="text" name="sid" placeholder="请输入学生id"/>
		<button>查询</button>
	</form>
</body>
</html>